<?php

namespace schedule;

class Command extends \schedule\console\Command
{

    public function command($command, array $parameters = [])
    {
        $this->events[] = $event = new Event(
            $command, $parameters
        );

        return $event;
    }

}
